const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')
module.exports = {
    mode: "development",
    entry: "./src/index.js",
    output: {
        filename: "bundle.js",
        path: path.join(__dirname, "dist")
    },
    devtool: 'eval',
    plugins: [
        new HtmlWebpackPlugin({
            title: '标题'
        })
    ]
}